(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3341],{12833:function(e,t){var n,r,i,a,o,c,u,s,f,d,l,m,p,v,h,g,T,y,E,S,C,b,L,w,I,M,D,P,F,A,k,x,B,R,N,O,q,j,H,_,W,z,U,V,G,J,K,Q,X,Y,Z,$,ee,et,en,er,ei,ea,eo,ec,eu,es,ef,ed,el,em;a=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart(t||100)-1)return n||i;if(n=n?i+">"+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},s=-1,f=function(){return s},d=function(e){addEventListener("pageshow",function(t){t.persisted&&(s=t.timeStamp,e(t))},!0)},l=function(){var e=a();return e&&e.activationStart||0},m=function(e,t){var n=a(),r="navigate";return f()>=0?r="back-forward-cache":n&&(document.prerendering||l()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},v=function(e,t,n,r){var i,a;return function(o){var c;t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=(c=t.value)>n[1]?"poor":c>n[0]?"needs-improvement":"good",e(t))}},h=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},g=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},T=function(e){var t=!1;return function(){t||(e(),t=!0)}},y=-1,E=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},S=function(e){"hidden"===document.visibilityState&&y>-1&&(y="visibilitychange"===e.type?e.timeStamp:0,b())},C=function(){addEventListener("visibilitychange",S,!0),addEventListener("prerenderingchange",S,!0)},b=function(){removeEventListener("visibilitychange",S,!0),removeEventListener("prerenderingchange",S,!0)},L=function(){return y<0&&(y=E(),C(),d(function(){setTimeout(function(){y=E(),C()},0)})),{get firstHiddenTime(){return y}}},w=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},I=[1800,3e3],M=function(e,t){t=t||{},w(function(){var n,r=L(),i=m("FCP"),a=p("paint",function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTimet.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};R.set(r.id,r),B.push(r)}B.sort(function(e,t){return t.latency-e.latency}),B.length>10&&B.splice(10).forEach(function(e){return R.delete(e.id)})}}},j=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=T(e),"hidden"===document.visibilityState?e():(n=t(e),g(e)),n},H=[200,500],_=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},w(function(){x();var r,i,a=m("INP"),o=function(e){j(function(){e.forEach(q);var t,r=(t=Math.min(B.length-1,Math.floor(((n?P:performance.interactionCount||0)-N)/50)),B[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,i())})},c=p("event",o,{durationThreshold:null!==(r=t.durationThreshold)&&void 0!==r?r:40});i=v(e,a,H,t.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),g(function(){o(c.takeRecords()),i(!0)}),d(function(){N=0,B.length=0,R.clear(),i=v(e,a=m("INP"),H,t.reportAllChanges)}))}))},W=[],z=[],U=new WeakMap,V=new Map,G=-1,J=function(e){W=W.concat(e),K()},K=function(){G<0&&(G=j(Q))},Q=function(){V.size>10&&V.forEach(function(e,t){R.has(t)||V.delete(t)});var e=B.map(function(e){return U.get(e.entries[0])}),t=z.length-50;z=z.filter(function(n,r){return r>=t||e.includes(n)});for(var n=new Set,r=0;r=0;r--){var a=z[r];if(8>=Math.abs(n-a.renderTime)){(t=a).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:[e]},z.push(t)),(e.interactionId||"first-input"===e.entryType)&&U.set(e,t),K()}),ee=function(e,t){for(var n,r=[],i=0;n=W[i];i++)if(!(n.startTime+n.durationt)break;r.push(n)}return r},et=[2500,4e3],en={},er=[800,1800],ei=function e(t){document.prerendering?w(function(){return e(t)}):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},ea=function(e,t){t=t||{};var n=m("TTFB"),r=v(e,n,er,t.reportAllChanges);ei(function(){var i=a();i&&(n.value=Math.max(i.responseStart-l(),0),n.entries=[i],r(!0),d(function(){(r=v(e,n=m("TTFB",0),er,t.reportAllChanges))(!0)}))})},eo={passive:!0,capture:!0},ec=new Date,eu=function(e,t){X||(X=t,Y=e,Z=new Date,ed(removeEventListener),es())},es=function(){if(Y>=0&&Y1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){eu(i,e),r()},n=function(){r()},r=function(){removeEventListener("pointerup",t,eo),removeEventListener("pointercancel",n,eo)},addEventListener("pointerup",t,eo),addEventListener("pointercancel",n,eo)):eu(i,e)}},ed=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,ef,eo)})},el=[100,300],em=function(e,t){t=t||{},w(function(){var n,r=L(),i=m("FID"),a=function(e){e.startTimet.value?e:t});if(r&&r.sources&&r.sources.length){var i=(t=r.sources).find(function(e){return e.node&&1===e.node.nodeType})||t[0];i&&(n={largestShiftTarget:u(i.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:i,largestShiftEntry:r,loadState:o(r.startTime)})}}return Object.assign(e,{attribution:n})}(t))},r=(r=t)||{},M(T(function(){var e,t=m("CLS",0),i=0,a=[],o=function(n){n.forEach(function(e){if(!e.hadRecentInput){var t=a[0],n=a[a.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}}),i>t.value&&(t.value=i,t.entries=a,e())},c=p("layout-shift",o);c&&(e=v(n,t,D,r.reportAllChanges),g(function(){o(c.takeRecords()),e(!0)}),d(function(){i=0,e=v(n,t=m("CLS",0),D,r.reportAllChanges),h(function(){return e()})}),setTimeout(e,0))}))},t.onFCP=function(e,t){M(function(t){e(function(e){var t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:o(f())};if(e.entries.length){var n=a(),r=e.entries[e.entries.length-1];if(n){var i=n.activationStart||0,c=Math.max(0,n.responseStart-i);t={timeToFirstByte:c,firstByteToFCP:e.value-c,loadState:o(e.entries[0].startTime),navigationEntry:n,fcpEntry:r}}}return Object.assign(e,{attribution:t})}(t))},t)},t.onFID=function(e,t){em(function(t){var n;e((n=t.entries[0],Object.assign(t,{attribution:{eventTarget:u(n.target),eventType:n.name,eventTime:n.startTime,eventEntry:n,loadState:o(n.startTime)}})))},t)},t.onINP=function(e,t){r||(r=p("long-animation-frame",J)),_(function(t){var n,r,i,a,c,s,f,d,l,m;e((n=t.entries[0],r=U.get(n),i=n.processingStart,a=r.processingEnd,c=r.entries.sort(function(e,t){return e.processingStart-t.processingStart}),s=ee(n.startTime,a),d=(f=t.entries.find(function(e){return e.target}))&&f.target||V.get(n.interactionId),l=[n.startTime+n.duration,a].concat(s.map(function(e){return e.startTime+e.duration})),m=Math.max.apply(Math,l),Object.assign(t,{attribution:{interactionTarget:u(d),interactionTargetElement:d,interactionType:n.name.startsWith("key")?"keyboard":"pointer",interactionTime:n.startTime,nextPaintTime:m,processedEventEntries:c,longAnimationFrameEntries:s,inputDelay:i-n.startTime,processingDuration:a-i,presentationDelay:Math.max(m-a,0),loadState:o(n.startTime)}})))},t)},t.onLCP=function(e,t){var n,r;n=function(t){e(function(e){var t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){var n=a();if(n){var r=n.activationStart||0,i=e.entries[e.entries.length-1],o=i.url&&performance.getEntriesByType("resource").filter(function(e){return e.name===i.url})[0],c=Math.max(0,n.responseStart-r),s=Math.max(c,o?(o.requestStart||o.startTime)-r:0),f=Math.max(s,o?o.responseEnd-r:0),d=Math.max(f,i.startTime-r);t={element:u(i.element),timeToFirstByte:c,resourceLoadDelay:s-c,resourceLoadDuration:f-s,elementRenderDelay:d-f,navigationEntry:n,lcpEntry:i},i.url&&(t.url=i.url),o&&(t.lcpResourceEntry=o)}}return Object.assign(e,{attribution:t})}(t))},r=(r=t)||{},w(function(){var e,t=L(),i=m("LCP"),a=function(n){r.reportAllChanges||(n=n.slice(-1)),n.forEach(function(n){n.startTime0&&e.responseStart=0?r="back-forward-cache":n&&(document.prerendering||f()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},l=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},m=function(e,t,n,r){var i,a;return function(o){var c;t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=(c=t.value)>n[1]?"poor":c>n[0]?"needs-improvement":"good",e(t))}},p=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},v=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},h=function(e){var t=!1;return function(){t||(e(),t=!0)}},g=-1,T=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(e){"hidden"===document.visibilityState&&g>-1&&(g="visibilitychange"===e.type?e.timeStamp:0,S())},E=function(){addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0)},S=function(){removeEventListener("visibilitychange",y,!0),removeEventListener("prerenderingchange",y,!0)},C=function(){return g<0&&(g=T(),E(),u(function(){setTimeout(function(){g=T(),E()},0)})),{get firstHiddenTime(){return g}}},b=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},L=[1800,3e3],w=function(e,t){t=t||{},b(function(){var n,r=C(),i=d("FCP"),a=l("paint",function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTimet.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};x.set(r.id,r),k.push(r)}k.sort(function(e,t){return t.latency-e.latency}),k.length>10&&k.splice(10).forEach(function(e){return x.delete(e.id)})}}},O=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=h(e),"hidden"===document.visibilityState?e():(n=t(e),v(e)),n},q=[200,500],j=[2500,4e3],H={},_=[800,1800],W=function e(t){document.prerendering?b(function(){return e(t)}):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},z={passive:!0,capture:!0},U=new Date,V=function(e,t){r||(r=t,i=e,a=new Date,K(removeEventListener),G())},G=function(){if(i>=0&&i1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){V(i,e),r()},n=function(){r()},r=function(){removeEventListener("pointerup",t,z),removeEventListener("pointercancel",n,z)},addEventListener("pointerup",t,z),addEventListener("pointercancel",n,z)):V(i,e)}},K=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,J,z)})},Q=[100,300],t.CLSThresholds=I,t.FCPThresholds=L,t.FIDThresholds=Q,t.INPThresholds=q,t.LCPThresholds=j,t.TTFBThresholds=_,t.onCLS=function(e,t){t=t||{},w(h(function(){var n,r=d("CLS",0),i=0,a=[],o=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=a[0],n=a[a.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}}),i>r.value&&(r.value=i,r.entries=a,n())},c=l("layout-shift",o);c&&(n=m(e,r,I,t.reportAllChanges),v(function(){o(c.takeRecords()),n(!0)}),u(function(){i=0,n=m(e,r=d("CLS",0),I,t.reportAllChanges),p(function(){return n()})}),setTimeout(n,0))}))},t.onFCP=w,t.onFID=function(e,t){t=t||{},b(function(){var n,a=C(),c=d("FID"),s=function(e){e.startTime